package com.imooc.mall.model.request;

import com.imooc.mall.model.pojo.Category;

import java.util.List;

/*商品分页信息构造的方法*/
public class ProductRequestQuery {

    private String keyword;

    public List<Integer> getCategoryIds() {
        return categoryIds;
    }

    public void setCategoryIds(List<Integer> categoryIds) {
        this.categoryIds = categoryIds;
    }

    // 请求对象中的所有ID的
    private List<Integer> categoryIds;

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }



    @Override
    public String toString() {
        return "ProductRequestQuery{" +
                "keyword='" + keyword + '\'' +
                ", categoryList=" + categoryIds +
                '}';
    }
}